<div class="ibox">
	<div class="ibox-content">
		<form class="form-horizontal">
			<div class="form-group">
				<label for="namebasic" class="col-md-2 control-label">${_res["advert.type"]}</label>
				<div class="col-md-3">
					<#dict type="select" class="form-control" name="advertisement.type" dictCode="ADV_TYPE"
					value="${advertisement.type!}" disabled="disabled"/>
				</div>

				<label class="col-sm-2 control-label">${_res["advert.positionid"]}</label>
				<div class="col-sm-3">
					<#dict type="select" name="advertisement.positionid" table="cms_advertisement_position"
					filedName="name" filedValue="id" value="${advertisement.positionid!}" disabled="disabled"/>
				</div>
			</div>
			<div class="hr-line-dashed"></div>

			<div class="form-group">
				<label for="namebasic" class="col-md-2 control-label">${_res["advert.name"]}</label>
				<div class="col-md-3">
					<p class="form-control-static">${advertisement.name!}</p>
				</div>

				<label class="col-sm-2 control-label">${_res["advert.keyword"]}</label>
				<div class="col-sm-3">
					<p class="form-control-static">${advertisement.keyword!}</p>
				</div>
			</div>
			<div class="hr-line-dashed"></div>

			<div class="form-group">
				<label for="namebasic" class="col-md-2 control-label">${_res["advert.href"]}</label>
				<div class="col-md-3">
					<p class="form-control-static">${advertisement.href!}</p>
				</div>

				<label class="col-sm-2 control-label">${_res["advert.status"]}</label>
				<div class="col-sm-3">
					<#dict type="select" value="${advertisement.status!}" class="form-control"
					name="advertisement.status" dictCode="COMMON_STATUS" disabled="disabled"/>
				</div>
			</div>
			<div class="hr-line-dashed"></div>

			<div class="form-group">
				<label for="namebasic" class="col-md-2 control-label">${_res["advert.startTime"]}</label>
				<div class="col-md-3">
					<p class="form-control-static">${advertisement.starttime!,dateFormat="yyyy-MM-dd HH:mm"}</p>
				</div>

				<label for="namebasic" class="col-md-2 control-label">${_res["advert.endTime"]}</label>
				<div class="col-md-3">
					<p class="form-control-static">${advertisement.endtime!,dateFormat="yyyy-MM-dd HH:mm"}</p>
				</div>
			</div>
			<div class="hr-line-dashed"></div>

			<div class="form-group">
				<label for="namebasic" class="col-md-2 control-label">${_res["advert.picture"]}</label>
				<div class="col-md-3">
					<img src="${imgCxt!}/${advertisement.pictures!}" width="100%" height="100%" style="position: relative; z-index: 99999;" >
				</div>
			</div>
			<div class="hr-line-dashed"></div>
						
			<div class="form-group">
				<div class="row">
					<div class="col-md-10 col-md-offset-2">
						<button type="button" class="btn btn-warning" onClick="ajaxContent('/cms/advertisement/list')">${_res["system.return"]}</button>
					</div>
				</div>
			</div>
		</form>
	</div>
</div>
<#nav />